package com.fc.advbox.service;

import com.alibaba.fastjson.JSONObject;
import com.fc.advbox.entity.AdvOrgAcctEntity;
import com.fc.advbox.entity.AdvOrgAcctTxnEntity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * Description:
 * User: Charles.Gao
 * Date: 2018-06-27 13:04
 */
public interface IOrgAcctService extends BaseService<AdvOrgAcctEntity>{

    void calculateOrgAccountProfit(Date currentDate);

    AdvOrgAcctEntity queryByOrgId(Long orgId);

    List<AdvOrgAcctTxnEntity> getAcctTxnByAcctId(Long acctId);

    void intoCash(JSONObject jsonObject);
}
